package com.shawn.commons.utils;

public class RC {

    /**
     * rabbit:交换机&队列*/
    public static final String MQ_VISITOR_EXCHANGE = "touch.visitor.exchange";
    public static final String MQ_VISITOR_QUEUE = "touch.visitor.queue";
    public static final String MQ_VISITOR_KEY = "visitor.topic";

    /**
     * 动态推荐
     */
    public static final String MOVEMENTS_RECOMMEND = "MOVEMENTS_RECOMMEND_";
    public static final String MOVEMENTS_INTERACT_KEY = "MOVEMENTS_INTERACT_";
    public static final String MOVEMENT_LIKE_HASH_KEY = "MOVEMENT_LIKE_HASH_KEY_";
    public static final String MOVEMENT_LOVE_HASH_KEY = "MOVEMENT_LOVE_HASH_KEY_";

    /**动态审核*/
    public static final Integer MOVEMENT_PASS = 5;
    public static final Integer MOVEMENT_REJECT = 4;

    /**桃花传音记录*/
    public static final String VOICE_ID_SET_KEY = "VOICE_ID_SET_KEY_";

    /*验证码key*/
    public static final String CAP_CODE = "CAP_CODE_";

    /**
     * 用户冻结
     */
    public static final String FREEZING_USER="FREEZING_USER_";
    public static final String FREEZING_TIME_FOREVER="-1";
    /**
     * 用户状态
     */
    public static final String FREEZING_NORMAL_STATUS="1";
    public static final String FREEZING_FROZEN_STATUS="2";

    public static final String FREEZING_LOGIN="1";
    public static final String FREEZING_COMMENT="2";
    public static final String FREEZING_PUBLISH_MOVEMENT="3";

    /**
     * 视频推荐
     */
    public static final String VIDEO_RECOMMEND = "MOVEMENTS_RECOMMEND_";
    public static final String VIDEO_INTERACT_KEY = "VIDEO_INTERACT_";//视频键值通用前缀+视频id
    public static final String VIDEO_LIKE_HASH_KEY = "VIDEO_LIKE_HASH_KEY_"; //视频点赞+用户id
    public static final String AUTEUR_FOCUS_HASH_KEY = "VIDEO_FOCUS_HASH_KEY_";//用户关注+用户id

    /**
     * 评论是否点赞存储redis
     */

    public static final String COMMENTS_INTERACT_KEY = "COMMENTS_INTERACT_";//评论共有的key+评论Id

    public static final String COMMENT_LIKE_HASH_KEY = "COMMENT_LIKE_KEY_";//用户点赞的HashKey+userId

    /*记录查看访问列表时间*/
    public static final String VISITORS_USER = "VISITORS_USER";


    /**
     * 短信验证码
     */
    public static final String CHECK_CODE = "CHECK_CODE_";
    /**
     * token失效时间
     */
    public static final Integer TOKEN_TIME_OUT = 3600;
    /**
     * 令牌密钥
     */
    public static final String TOKEN_KEY = "shawn";
    /**
     * redis token前缀
     */
    public static final String TOKEN = "TOKEN_";


    public static final String HX_USER_PREFIX = "hx";
    public static final String INIT_PASSWORD = "123456";

    public static final String COMMENT_DATE_FORMAT = "yyyy-MM-dd HH:ss:ss";//评论记录时间格式
    public static final String ANNOUNCEMENT_DATE_FORMAT = "yyyy-MM-dd HH:ss";//公告记录时间格式
    public static final String GENERAL_DATE_FORMAT = "yyyy-MM-dd";//通用时间格式
    public static final String VISITOR_DATE_FORMAT = "yyyyMMdd";//通用时间格式


}
